package com.robertbak.geolocation.events
{
	import com.robertbak.geolocation.interfaces.IPositionError;
	
	import flash.events.Event;

	public class GeoFaultEvent extends Event
	{
		
		public static const FAULT:String = "fault";
		
		private var _fault:IPositionError;
		public function get fault():IPositionError
		{
			return _fault;
		}
		
		public function GeoFaultEvent(type:String, fault:IPositionError)
		{
			super(type, false, false);
			_fault = fault; 
		}
		
	}
}